﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;


namespace WindowsGame1
{
    public class Tileset
    {
        List<Rectangle> tiles = new List<Rectangle>();
        static int tileWidth;
        static int tileHeight;
        string textureName;
        public Tileset(string textureName, int tileWidth, int tileHeight,
        List<Rectangle> tiles)
        {
            this.textureName = textureName;
            Tileset.tileWidth = tileWidth;
            Tileset.tileHeight = tileHeight;
            this.tiles = tiles;
        }
        public List<Rectangle> Tiles
        {
            get { return tiles; }
        }
        public static int TileWidth
        {
            get { return tileWidth; }
        }
        public static int TileHeight
        {
            get { return tileHeight; }
        }
        public string TextureName
        {
            get { return textureName; }
        }
    }
}